<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Register</title>
</head>
<body>
<form method="post" action="add">
cname:<input type="text" name="cname"/><br>
sal:<input type="text" name="sal"/><br>
birth:<input type="date" name="birth"/><br>
sex:<input type="radio" checked="checked" value=true name="sex"/>男
<input type="radio" name="sex" value="false"/>女<br>
favs:<input type="checkbox" checked="checked" value=2 name="favs"/>篮球
<input type="checkbox" name="favs" value="3"/>足球<input type="checkbox" name="favs" value="4"/>羽毛球<br>
<input type="submit">
</form>

</body>
</html>